package com.yzmoney.wechat.model.reply;

import org.eclipse.persistence.oxm.annotations.XmlCDATA;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/*
<Music>
<Title><![CDATA[TITLE]]></Title>
<Description><![CDATA[DESCRIPTION]]></Description>
<MusicUrl><![CDATA[MUSIC_Url]]></MusicUrl>
<HQMusicUrl><![CDATA[HQ_MUSIC_Url]]></HQMusicUrl>
<ThumbMediaId><![CDATA[media_id]]></ThumbMediaId>
</Music>
*/
@XmlType(propOrder={"title","description","musicURL","HQMusicUrl","thumbMediaId"})
public class Music {
	@XmlCDATA
	@XmlElement(name="Title")
	private String title; 			//  否  音乐标题  
	
	@XmlCDATA
	@XmlElement(name="Description")
	private String description; 	//  否  音乐描述  
	
	@XmlCDATA
	@XmlElement(name="MusicUrl")
	private String musicURL; 		//  否  音乐链接  
	
	@XmlCDATA
	@XmlElement(name="HQMusicUrl")
	private String HQMusicUrl;		//  否  高质量音乐链接，WIFI环境优先使用该链接播放音乐  
	
	@XmlCDATA
	@XmlElement(name="ThumbMediaId")
	private String thumbMediaId;	//  是  缩略图的媒体id，通过上传多媒体文件，得到的id 
	
	public Music() {
		super();
	}
	
	public Music(String title, String description, String musicURL,
			String hQMusicUrl, String thumbMediaId) {
		super();
		this.title = title;
		this.description = description;
		this.musicURL = musicURL;
		HQMusicUrl = hQMusicUrl;
		this.thumbMediaId = thumbMediaId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getMusicURL() {
		return musicURL;
	}
	public void setMusicURL(String musicURL) {
		this.musicURL = musicURL;
	}
	public String getHQMusicUrl() {
		return HQMusicUrl;
	}
	public void setHQMusicUrl(String hQMusicUrl) {
		HQMusicUrl = hQMusicUrl;
	}
	public String getThumbMediaId() {
		return thumbMediaId;
	}
	public void setThumbMediaId(String thumbMediaId) {
		this.thumbMediaId = thumbMediaId;
	}
}
